#include <QGuiApplication>
#include <QQmlApplicationEngine>
#include <QQuickStyle>
#include "app_builder.h"

int main(int argc, char *argv[])
{
    QGuiApplication app(argc, argv);

    // 设置Qt Quick Controls样式为Fusion（支持完全自定义）
    QQuickStyle::setStyle("Fusion");

    AppBuilder builder;
    if (!builder.build()) {
        return -1;
    }

    return app.exec();
}